// StorageIni.h: interface for the CStorageIni class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STORAGEINI_H__B7A43081_753E_11D4_A591_008029E8269F__INCLUDED_)
#define AFX_STORAGEINI_H__B7A43081_753E_11D4_A591_008029E8269F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Storage.h"

class CStorageIni : public CStorage  
{
public:
	CStorageIni(LPCSTR sFile,LPCSTR sSection);
	virtual ~CStorageIni();
private :
  PSTR m_szFile;
  PSTR m_szSection;
public:
  virtual void Get(LPCSTR sName,LPCSTR sDefault,LPSTR sVal,int cb)const ;
	virtual int  Get(LPCSTR sName,int nDefault)const ;

	virtual void Put(LPCSTR sName,LPCSTR sVal);
	virtual void Put(LPCSTR sName,int nVal);

};

#endif // !defined(AFX_STORAGEINI_H__B7A43081_753E_11D4_A591_008029E8269F__INCLUDED_)
